/**
 * 
 */
package com.google.code.sip.ucenter.ws.dto;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.google.code.sip.ucenter.ws.adapter.DateAdapter;

/**
 * 好友实体类
 * 
 * @author Liuye
 * 
 */
@XmlRootElement(name = "friend")
@XmlSeeAlso(BaseDto.class)
@XmlAccessorType(XmlAccessType.FIELD)
@SuppressWarnings("serial")
public class FriendDto extends BaseDto {

	/**
	 * 用户Id
	 */
	private String userId;

	/**
	 * 好友id
	 */
	private String friendId;

	/**
	 * 好友登录名
	 */
	private String friendLoginName;

	/**
	 * 好友昵称
	 */
	private String friendNickName;

	/**
	 * 好友组
	 */
	private String friendGroupId;

	/**
	 * 好友组名称
	 */
	private String friendGroupName;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 创建日期
	 */
	@XmlJavaTypeAdapter(DateAdapter.class)
	private Date createdDate;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFriendId() {
		return friendId;
	}

	public void setFriendId(String friendId) {
		this.friendId = friendId;
	}

	/**
	 * @return the friendGroup
	 */
	public String getFriendGroupId() {
		return friendGroupId;
	}

	public void setFriendGroupId(String friendGroupId) {
		this.friendGroupId = friendGroupId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getFriendLoginName() {
		return friendLoginName;
	}

	public void setFriendLoginName(String friendLoginName) {
		this.friendLoginName = friendLoginName;
	}

	public String getFriendNickName() {
		return friendNickName;
	}

	public void setFriendNickName(String friendNickName) {
		this.friendNickName = friendNickName;
	}

	public String getFriendGroupName() {
		return friendGroupName;
	}

	public void setFriendGroupName(String friendGroupName) {
		this.friendGroupName = friendGroupName;
	}
}
